<?php

namespace App\Services\ApplyGoldCoinWithdrawXzbPay;

use App\Http\Controllers\Api\V1\Requests\FormRequest;

class AuthGoldCoinWithdrawXzbPayRequest extends FormRequest
{
	public function rules()
	{
		return [
            'id_no' => 'required|string|min:18|max:18',
	        'real_name' => 'required|string|max:10',
            'id_card_front' => 'required|string',
            'id_card_back' => 'required|string',
        ];
	}
	
	public function attributes()
	{
		return [
			'id_no' => '身份证',
			'real_name' => '真实姓名',
			'id_card_front' => '身份证正面',
			'id_card_back' => '身份证反面',
		];
	}
	
}
